{append var=pageStyles value="css/mainstyle.css"}
{include file="header.tpl"}
<body>

    <!-- Page -->
    <div class="page">


        <!-- Banner -->
        <div class="banner">
            <form class= "userinfoplace">
                <a href="?page=FelhasznaloiAdatok">{$userinfo.Username}</a>
            </form>
            <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="1024" height="120" id="banner" align="middle" >
                <param name="movie" value="banner.swf" />
                <param name="quality" value="high" />
                <param name="bgcolor" value="#ffffff" />
                <param name="play" value="true" />
                <param name="loop" value="true" />
                <param name="wmode" value="window" />
                <param name="scale" value="showall" />
                <param name="menu" value="true" />
                <param name="devicefont" value="false" />
                <param name="salign" value="" />
                <param name="allowScriptAccess" value="sameDomain" />
                <!--[if !IE]>-->
                <object type="application/x-shockwave-flash" data="images/banner.swf" width="1024" height="120">
                    <param name="movie" value="images/banner.swf" />
                    <param name="quality" value="high" />
                    <param name="bgcolor" value="#ffffff" />
                    <param name="play" value="true" />
                    <param name="loop" value="true" />
                    <param name="wmode" value="transparent" />
                    <param name="scale" value="showall" />
                    <param name="menu" value="true" />
                    <param name="devicefont" value="false" />
                    <param name="salign" value="" />
                    <param name="allowScriptAccess" value="sameDomain" />
                    <!--<![endif]-->
                    <a href="http://www.adobe.com/go/getflash">
                        <img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" />
                    </a>
                    <!--[if !IE]>-->
                </object>
                <!--<![endif]-->
            </object>
        </div>

        <!-- Menu -->

        <div class="menu border">

            <p class= "home"><a href="?page=Main">Menu</a></p>

            <ul>
                {if in_array('STUDENT',$user->getPermissions())}
                <li>
                    <p class="button_tan"><a href="?page=Tanulmanyi"></a></p>
                </li>
                {/if}
               {if in_array('STUDENT',$user->getPermissions())}
                <li>
                    <p class="button_teszt"><a href="?page=TesztKitoltes"></a></p>
                </li>
                 {/if}
                {if in_array('TEACHER',$user->getPermissions())}
                <li>
                    <p class="button_eredmeny"><a href="?page=Tereminformaciok"></a></p>
                </li>
                 {/if}
                {if in_array('TEACHER',$user->getPermissions())}
                <li>
                    <p class="button_tesztkeszites"><a href="?page=TesztKeszites"></a></p>
                </li>
                 {/if}
                {if in_array('TEACHER',$user->getPermissions())}
                <li>
                    <p class="button_resz"><a href="?page=Reszeredmenyek"></a></p>
                </li>
                 {/if}
                {if in_array('TEACHER',$user->getPermissions()) || in_array('SECRETARY',$user->getPermissions()) || in_array('ADMIN',$user->getPermissions())}
                <li>
                    <p class="button_tereminfo"><a href="?page=Tereminformaciok"></a></p>
                </li>
                 {/if}
                {if in_array('TEACHER',$user->getPermissions()) || in_array('SECRETARY',$user->getPermissions()) || in_array('ADMIN',$user->getPermissions())}
                <li>
                    <p class="button_felh"><a href="?page=Tantargy"></a></p>
                </li>
                 {/if}
                <li>
                    <p class="button_help"><a href="?page=Sugo"></a></p>
                </li>
                <li>
                    <p class="button_logout"><a href="?page=Login&amp;action=logout"></a></p>
                </li>
            </ul>

        </div>

        <!-- Szovegresz (kozepen) -->

        <div class="content border">
{include file=$contentTemplate}
        </div>

        <!-- float vege -->
        <div style="clear: both"></div>
    </div>

</body>
</html>